<?
/**
 * <b>RequestCategoriesType Class</b>
 * Published 04/11/2010 19:01:04
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');

class RequestCategoriesType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var boolean $CategoriesOnly
	public $CategoriesOnly;
	// @var boolean $DemandData
	public $DemandData;
	// @var int $Levels
	public $Levels;
	// @var int $MaxCategories
	public $MaxCategories;
	// @var int $MaxSubcategories
	public $MaxSubcategories;
 /** End Properties **/

/**
 *
 * @return boolean
 */
	function getCategoriesOnly(){
		return $this->CategoriesOnly;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setCategoriesOnly($value){
		$this->CategoriesOnly = $value;
	}


/**
 *
 * @return boolean
 */
	function getDemandData(){
		return $this->DemandData;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDemandData($value){
		$this->DemandData = $value;
	}


/**
 *
 * @return int
 */
	function getLevels(){
		return $this->Levels;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setLevels($value){
		$this->Levels = $value;
	}


/**
 *
 * @return int
 */
	function getMaxCategories(){
		return $this->MaxCategories;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMaxCategories($value){
		$this->MaxCategories = $value;
	}


/**
 *
 * @return int
 */
	function getMaxSubcategories(){
		return $this->MaxSubcategories;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setMaxSubcategories($value){
		$this->MaxSubcategories = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("RequestCategoriesType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"CategoriesOnly"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DemandData"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Levels"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"MaxCategories"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"MaxSubcategories"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
